package com.xmutca.cloud.auth.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xmutca.cloud.auth.entity.SysUser;
import com.xmutca.cloud.auth.repository.SysUserRepository;

@Service
public class SysUserService {

	@Autowired
	private SysUserRepository repository;
	
	public SysUser findByUsername(String username) {
		return repository.findByUsername(username);
	}
}
